
public class CStack {
	private SinglyLinkedList stack;
	
	public CStack(){
		stack = new SinglyLinkedList();
	}
	
	public void push(int value){
		stack.addFirst(value);
	}
	
	public void pull(){
		stack.removeFirst();
	}
	
	public void printCStack(){
		stack.printList();
	}
}
